package com.hzhr.iot.toll.model.gasUser_basicInfo;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.toll.entity.GasUserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "GasUser_BasicInfoModel", description = "燃气用户的基础信息模型")
@CygModel(entity = GasUserEntity.class)
public class GasUser_BasicInfoModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 燃气用户代码(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "code")
    private String code;
    @ApiModelProperty(value = "说明 : 燃气用户名称(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "name")
    private String name;
    @ApiModelProperty(value = "说明 : 燃气用户地址(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "address")
    private String address;

    @ApiModelProperty(value = "说明 : 用户编号(show_user=true时展示)")
    @CygProperty(show = "_show_user", entityProp = "userExt_id")
    private Integer userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
